package com.func.trigger.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * RaffleStrategyRuleWeightResponseDTO
 * </p>
 *
 * @author Simon
 * @version 2025.03.19.1.0.0
 * @description 抽奖策略规则, 权重配置, 从查询N次抽奖可解锁的奖品范围, 应答对象
 * @since 2025-03-19
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RaffleStrategyRuleWeightResponseDTO implements Serializable {
    private Integer ruleWeightCount;
    private Integer userActivityAccountTotalUserCount;
    private List<StrategyAward> strategyAwards;

    @Data
    public static class StrategyAward {
        // 奖品ID
        private Integer awardId;
        // 奖品标题
        private String awardTitle;
    }
}
